package com.linkage.usercenter.pojo.entity;

import com.linkage.usercenter.pojo.baseDO.TableBaseBO;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_MEMU
 * @author dev
 * @date 2020-04-19 15:17:07
 */
public class CoreMemu extends TableBaseBO implements Serializable {


    /**
     * 菜单编码
     */
    private String memuCode;

    /**
     * 菜单名称
     */
    private String memuName;

    /**
     * 菜单说明
     */
    private String memuDesc;

    /**
     * 父菜单编码
     */
    private String memuParentCode;

    /**
     * 菜单等级
     */
    private Integer memuLevel;

    /**
     * 菜单排序
     */
    private Integer memuIndex;

    /**
     * 菜单图标名称
     */
    private String memuIcon;

    /**
     * 菜单URL
     */
    private String memuUrl;

    /**
     * 菜单状态
     */
    private String memuStatus;



    private static final long serialVersionUID = 1L;


    public String getMemuCode() {
        return memuCode;
    }

    public void setMemuCode(String memuCode) {
        this.memuCode = memuCode == null ? null : memuCode.trim();
    }

    public String getMemuName() {
        return memuName;
    }

    public void setMemuName(String memuName) {
        this.memuName = memuName == null ? null : memuName.trim();
    }

    public String getMemuDesc() {
        return memuDesc;
    }

    public void setMemuDesc(String memuDesc) {
        this.memuDesc = memuDesc == null ? null : memuDesc.trim();
    }

    public String getMemuParentCode() {
        return memuParentCode;
    }

    public void setMemuParentCode(String memuParentCode) {
        this.memuParentCode = memuParentCode == null ? null : memuParentCode.trim();
    }

    public Integer getMemuLevel() {
        return memuLevel;
    }

    public void setMemuLevel(Integer memuLevel) {
        this.memuLevel = memuLevel;
    }

    public Integer getMemuIndex() {
        return memuIndex;
    }

    public void setMemuIndex(Integer memuIndex) {
        this.memuIndex = memuIndex;
    }

    public String getMemuIcon() {
        return memuIcon;
    }

    public void setMemuIcon(String memuIcon) {
        this.memuIcon = memuIcon == null ? null : memuIcon.trim();
    }

    public String getMemuUrl() {
        return memuUrl;
    }

    public void setMemuUrl(String memuUrl) {
        this.memuUrl = memuUrl == null ? null : memuUrl.trim();
    }

    public String getMemuStatus() {
        return memuStatus;
    }

    public void setMemuStatus(String memuStatus) {
        this.memuStatus = memuStatus == null ? null : memuStatus.trim();
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memuCode=").append(memuCode);
        sb.append(", memuName=").append(memuName);
        sb.append(", memuDesc=").append(memuDesc);
        sb.append(", memuParentCode=").append(memuParentCode);
        sb.append(", memuLevel=").append(memuLevel);
        sb.append(", memuIndex=").append(memuIndex);
        sb.append(", memuIcon=").append(memuIcon);
        sb.append(", memuUrl=").append(memuUrl);
        sb.append(", memuStatus=").append(memuStatus);
        sb.append(", createCode=").append(createCode);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateCode=").append(updateCode);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }
}